import 'package:built_collection/built_collection.dart';

abstract class ImageRepository {
  Future<BuiltMap<String, String>> getCachedImagePathMap();

  Future<int> computeCacheSize();

  Future<void> clearCache();

  Future<String?> cacheImage({
    required String imageId,
    required List<int> imageBytes,
  });
}
